package com.it.you.base.callback;

public class CallBackTest1 {
    public static void main(String[] args) {
        ClassA a = new ClassA();
        ClassB b = new ClassB();
        //将对象b作为参数传入ask方法，才能够回调b的函数
        a.ask(b);
    }

}
